* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    color: #666;
    font: 14px/1.5 -apple-system, Helvetica, sans-serif;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    *zoom: 1;
}

input {
    -webkit-appearance: none;
}

li {
    list-style: none;
}
img,
a {
    -webkit-touch-callout: none;
}
img {
    vertical-align: middle;
}
a {
    text-decoration: none;
    color: #333333;
}
.app {
    height: 45px;
}
.app ul li {
    float: left;
    height: 45px;
    background-color: #333333;
    text-align: center;
    line-height: 45px;
    color: #ffffff;
}
.app ul li:nth-child(1) {
    width: 8%;
}
.app ul li:nth-child(1) img {
    width: 10px;
    vertical-align: middle;
}

.app ul li:nth-child(2) {
    width: 10%;
}

.app ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}

.app ul li:nth-child(3) {
    width: 57%;
}
.app ul li:nth-child(4) {
    width: 25%;
    background-color: #f63515;
}

.search-wrap {
    overflow: hidden;
    position: fixed;
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    height: 44px;
}

.search-wrap .search-btn,
.search-wrap .search-login {
    position: absolute;
    width: 40px;
    height: 44px;
}

.search-wrap .search-btn {
    top: 0;
    left: 0;
}

.search-wrap .search-btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 18px;
    background: url('../images/s-btn.png') no-repeat;
    background-size: contain;
    margin: 14px 0 0 15px;
}

.search-wrap .search-login {
    top: 0;
    right: 0;
    color: #ffffff;
    line-height: 44px;
}

.search-wrap .search {
    position: relative;
    height: 30px;
    background-color: #ffffff;
    margin: 7px 50px;
    border-radius: 22px;
}

.search-wrap .search .jd-icon {
    position: absolute;
    top: 8px;
    left: 13px;
    width: 20px;
    height: 15px;
    background: url(../images/jd.png);
    background-size: contain;
}

.search-wrap .search .jd-icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}

.search-wrap .search .sou {
    position: absolute;
    top: 8px;
    left: 50px;
    width: 18px;
    height: 15px;
    background-color: grey;
    background: url(../images/jd-sprites.png) no-repeat -81px 0px;
    background-size: 200px auto;
}

.main-content .slider img {
    width: 100%;
}

.brand {
    overflow: hidden;
    border-radius: 10px;
}

.main-content .brand div {
    float: left;
    width: calc(100%/3);
}

.main-content .brand div img {
    width: 100%;
}

nav {
    padding: 5px 0px;
}

nav a {
    float: left;
    width: 20%;
    text-align: center;
}

nav a img {
    width: 40px;
    margin: 10px 0;
}

nav a span {
    display: block;
}

.news a {
    float: left;
    box-sizing: border-box;
}
.news a img {
    width: 100%;
}
.news a:nth-child(1) {
    width: 50%;
}
.news a:nth-child(n+2) {
    width: 25%;
    border-left: 1px solid #ccc;
}